import React from 'react';
import ReactDOM from 'react-dom/client';

const CarArray=['BMW','BYD','TESLA']

function Car(props){
    return <table className="table">
        <tr>
            <th>brand: </th>
        </tr>
        <tr>
            <th>{props.brand}</th>
        </tr>
        <tr>
            <th>{props.brand}</th>
        </tr>
    </table>
}

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(<Car brand="C4L" />);